<template>
  <div class="receive-table">
    <el-table
            :data="tableData"
            style="width: 100%">
      <el-table-column
              prop="player"
              label="接球者"
              width="260">
      </el-table-column>
      <el-table-column
              prop="cross"
              label="接球总数"
              width="100">
      </el-table-column>
      <el-table-column
              prop="success"
              label="形成射门"
              width="100">
      </el-table-column>
      <el-table-column
              prop="chance"
              label="进球"
              width="100">
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
  export default {
    name: "ReceiveTable",
    data(){
      return {
        tableData:[
          {player:'巴坎布',cross:110,success:50,chance:10},
          {player:'张玉宁',cross:99,success:53,chance:8},
          {player:'比埃拉',cross:85,success:47,chance:8},
        ]
      }
    }
  }
</script>

<style scoped>
  .receive-table {
    width: 100%;
    /*height: 100px;*/
  }
  .receive-table /deep/ .el-table td {
    padding: 8px 0;
    background-color: #f1f6f9;
    font-size: 18px;
    font-weight: bold;
    /*color:rgba(101, 111, 115, 0.75);*/
    text-align: left;
  }
  .receive-table /deep/ .is-leaf {
    padding: 5px 0 ;
    background-color: #f1f6f9;
    font-size: 18px;
    font-weight: bold;
    /*color:rgba(101, 111, 115, 0.75);*/
    text-align: left;
  }
</style>